package main

import "fmt"

func main() {
	var num = 10
	var p *int = &num

	// *p = num
	fmt.Println(*p)
	fmt.Println(num)
	fmt.Println(num == *p)

	// p = &num
	fmt.Println(&num)
	fmt.Println(p)
	fmt.Println(&num == p)

	fmt.Println(&p)
}
